home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
zbpc_460.zip
/
UTILITY.EXE
/
EOF-TEST.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-01-20
|
535b
|
15 lines
COLOR,31
CLS
ONERRORGOSUB65535 'equivalent of /e/x in QB
INPUT"File name";FI$
OPEN"I",1,FI$ ' file ending with EOF (1AH) / without EOF no (1AH)
LONGIF ERROR=259 'Check for file validity
PRINT"File not found"
END
ENDIF
WHILEERROR=0 'spaces around keywords not necessary in ZB, but if you
INPUT#1,A$ 'want to use keywords in variable names you must select
PRINTA$,ERROR 'spaces around keywords from the CONFIGURATION menu
WEND
PRINT"All Done"